package com.ds.asm.instruction;
/* Copyright (C) 2006, 2007 by Daniel Gheorghian
 All rights reserved
 
 Use and distribute freely, except: don't remove my name from the source or documentation 
 (don't take credit for my work), mark your changes (don't get me blamed for your possible bugs),
 don't alter or remove this notice.
 
 No warrantee of any kind, express or implied, is included with this software; use at your
 own risk, responsibility for damages (if any) to anyone resulting from the use of this
 software rests entirely with the user.
 
 Send bug reports, bug fixes, enhancements, requests, flames, etc., and I'll try to keep 
 a version up to date.  I can be reached at: daniel.gheorghian@gmail.com
*/

public abstract class SingleInputDoubleOutputInstruction extends Instruction
{
	private Instruction input;
	private LABEL outputThen;
	private Instruction outputElse;

	public SingleInputDoubleOutputInstruction( String instruction )
	{
		this.instruction = instruction;
	}

	public Instruction getInput()
	{
		return input;
	}

	public void setInput(Instruction input)
	{
		this.input = input;
	}

	public LABEL getOutputThen()
	{
		return outputThen;
	}

	public void setOutputThen(LABEL outputThen)
	{
		this.outputThen = outputThen;
	}

	public Instruction getOutputElse()
	{
		return outputElse;
	}

	public void setOutputElse(Instruction outputElse)
	{
		this.outputElse = outputElse;
	}
}
